<?php
namespace hiduoke\services\formBuilder\form;

use FormBuilder\Driver\FormComponent;
use FormBuilder\Factory\Elm;

class DkDyScopesSelect extends FormComponent{

    public function createValidate()
    {
        return Elm::validateStr();
    }

    /**
     * Dialog 自身是否插入至 body 元素上。
     * @return DkDyScopesSelect
     */
    public function appendToBody(){
        return $this->props(['appendToBody'=>true]);
    }
}
